<?php
/**
 * Created by PhpStorm.
 * User: DaibiDaddy
 * Date: 2016/5/24
 * Time: 17:14
 */

namespace App\Base;

class BaseConfig
{
    const __ENV__               = "prod";//dev|prod
    const __SMS_SWITCH__        = 1;//测试短信的开关，平常就关掉，需要测试的时候再开开，上线环境保持开启
    const __VI__                = "714a08411a995a07bc5fa247f5f66bc5";
//    const __BASE_URL__          = "http://192.168.43.5:82";
//    const __BASE_API__          = "http://192.168.43.5:82";
//    const __BASE_URL__          = "http://192.168.0.99:2003";
//    const __BASE_API__          = "http://192.168.0.99:2003";
//    const __BASE_URL__          = "http://192.168.1.5:1004";
//    const __BASE_API__          = "http://192.168.1.5:1004";
    const __BASE_URL__          = "https://jiayou.sano100.com";
    const __BASE_API__          = "https://jiayou.sano100.com";
    const __TEXT_NOT_FOUND__    = "您请求的内容未找到";


    const  __CAT_BANNER__ = 5;//首页banner模块
    const  __CAT_BANNER_INDEX__ = 6;//首页banner模块
    const  __CAT_BANNER_TASK__ = 2;//首页banner模块
    const  __CAT_BANNER_MATCH__ = 10;//首页banner模块








    //短信验证码
    const __SMS_CODE_TIME_OUT__    = 300;

    //OSS设置
    const __OSS_URL__               = "http://sano100-tjb.oss-cn-beijing.aliyuncs.com";
    const __OSS_OPEN__              = 1;//附件上传设置1=使用oss,0=上传服务器
    const __HTML_OSS_OPEN__         = 0;//附件上传设置1=使用oss,0=上传服务器


    //WeChat账号口令
    const __WECHAT_PLAT_APPID__     = "wx57223da501c7432d";//公众平台
    const __WECHAT_PLAT_APPSEC__    = "7fb1a9452c1808141ec26ef677f2cede";

    const __WECHAT_MINI_APPID__     = "wx57223da501c7432d";//小程序
    const __WECHAT_MINI_APPSEC__    = "7fb1a9452c1808141ec26ef677f2cede";

    const __WECHAT_MERCHANT_ID__    = "1517052891";//商户
    const __WECHAT_MERCHANT_KEY__   = "00850901ed765677c637afb75921f294";

    //默认设置
    const __USER_PIC_DEFAULT__      = "/wap/img/user_default.png";

    //加油审核组设置
    const __USER_GROUPS_CHECK_FUEL__= 3;


    //外部人员用户分组
    const  __USER_GROUPS_OUT__      = 10;
}
